package ${packageName}.arouter;

import android.content.Context;

import com.alibaba.android.arouter.facade.Postcard;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.alibaba.android.arouter.facade.service.DegradeService;
import com.jpxx.base.arouter.ARouterUtils;

/**
 * Created by Mikes at 2019/4/28 10:14 AM
 * 处理找不到页面时的降级处理，比如可以跳转到APP首页
 */
@Route(path = "/service/degradeService")
public class DegradeServiceImpl implements DegradeService {
    @Override
    public void onLost(Context context, Postcard postcard) {
//        ARouterUtils.navigation(ARouterPathConstants.PATH_APP_LAUNCHER);
    }

    @Override
    public void init(Context context) {

    }
}
